#include <stdio.h>
int main(int argc, char* argv[])
{
	char a[512] = {0};
	snprintf(a, 512, "%s", "abcdefghijklmn");

	int i = 0;
	for (i = 0; i < 10; i++)
	{
		printf(">>>>>>%c\n", a[i]);
	}
  sz();
  test();
  return 0;
}
int sz()
{
  char x[10][50];
  int i = 0;
  for(;i<10;i++)
  {
    snprintf(x[i],50,"%s%d[%p]" ,"hellow", i, x[i]);
  }

  for(i = 0; i<10; i++)
  {
    printf("[%s]\n",x[i]);
  }
  printf("size = [%d]\n", sizeof(x));
  return 0;
}
int test()
{
  int x;
  memset(&x,'\0',sizeof(int));
  printf("%d\n", x);
  return 0;
}
